package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级表对象 t_class
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class TClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 校区 */
    @Excel(name = "校区")
    private Long campusId;

    /** 状态 */
    @Excel(name = "状态")
    private String classStatus;

    /** 开班人数 */
    @Excel(name = "开班人数")
    private Long peopleNum;

    /** 开班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 班主任 */
    @Excel(name = "班主任")
    private Long eadmasterId;

    /** 助教老师 */
    @Excel(name = "助教老师")
    private Long assistantId;

    /** 就业老师 */
    @Excel(name = "就业老师")
    private Long employmentId;

    /** 结课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setClassStatus(String classStatus) 
    {
        this.classStatus = classStatus;
    }

    public String getClassStatus() 
    {
        return classStatus;
    }
    public void setPeopleNum(Long peopleNum) 
    {
        this.peopleNum = peopleNum;
    }

    public Long getPeopleNum() 
    {
        return peopleNum;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEadmasterId(Long eadmasterId) 
    {
        this.eadmasterId = eadmasterId;
    }

    public Long getEadmasterId() 
    {
        return eadmasterId;
    }
    public void setAssistantId(Long assistantId) 
    {
        this.assistantId = assistantId;
    }

    public Long getAssistantId() 
    {
        return assistantId;
    }
    public void setEmploymentId(Long employmentId) 
    {
        this.employmentId = employmentId;
    }

    public Long getEmploymentId() 
    {
        return employmentId;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("campusId", getCampusId())
            .append("classStatus", getClassStatus())
            .append("peopleNum", getPeopleNum())
            .append("startTime", getStartTime())
            .append("eadmasterId", getEadmasterId())
            .append("assistantId", getAssistantId())
            .append("employmentId", getEmploymentId())
            .append("endTime", getEndTime())
            .toString();
    }
}
